package com.maywide.jdp.system.vo;

import com.google.gson.annotations.Expose;


/**
 * 开始菜单VO
 * 
 * @author luoyang
 * @version 1.0
 * @since JDK1.6
 */
public class MenuVO {
	/**
	 * 菜单id（具有唯一性)
	 */
	@Expose
	private String id = null;
	
	/**
	 * 菜单编码（具有唯一性)
	 */
	@Expose
	private String code = null;
	
	/**
	 * 菜单显示文本
	 */
	@Expose
	private String text = null;
	
	/**
	 * 图标
	 */
	@Expose
	private String icon = null;
	
	/**
	 * 图标类
	 */
	@Expose
	private String iconCls = null;

	/**
	 * 顺序
	 */
	@Expose
	private int tabIndex = 0;
	
	/**
	 * 访问的url
	 */
	@Expose
	private String url = null;
	
	/**
	 * 打开窗口的宽度
	 */
	@Expose
	private int width = 0;
	
	/**
	 * 打开窗口的高度
	 */
	@Expose
	private int height = 0;
	
	/**
	 * 子菜单
	 */
	@Expose
	private SubMenuVO menu = null;
	
	/**
	 * 备注
	 */
	@Expose
	private String description =null;
	
	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public int getTabIndex() {
		return tabIndex;
	}

	public void setTabIndex(int tabIndex) {
		this.tabIndex = tabIndex;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String name) {
		this.text = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String identifier) {
		this.code = identifier;
	}

	/**
	 * @return the menu
	 */
	public SubMenuVO getMenu() {
		return menu;
	}

	/**
	 * @param menu the menu to set
	 */
	public void setMenu(SubMenuVO menu) {
		this.menu = menu;
	}

	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * @param url the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}

	/**
	 * @return the width
	 */
	public int getWidth() {
		return width;
	}

	/**
	 * @param width the width to set
	 */
	public void setWidth(int width) {
		this.width = width;
	}

	/**
	 * @return the height
	 */
	public int getHeight() {
		return height;
	}

	/**
	 * @param height the height to set
	 */
	public void setHeight(int height) {
		this.height = height;
	}
}
